package com.xl98.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="常量对象", description="")
 public class  ResponseCode {
    @ApiModelProperty(value = "成功状态码")
    public static final int SUCCESS_CODE = 200;

    @ApiModelProperty(value = "失败状态码")
    public static final int FAIL_CODE = 500;

    @ApiModelProperty(value = "密码错误")
    public static final String WRONG_PASSWORD= "密码错误";

    @ApiModelProperty(value = "该用户不存在")
    public static final String NOT_USER= "该用户不存在";

    @ApiModelProperty(value = "登录失败")
    public static final String FAIL_LOGIN= "登录失败";

    @ApiModelProperty(value = "登录成功")
    public static final String SUCCESS_LOGIN= "登录成功";

    @ApiModelProperty(value = "退出登录成功")
    public static final String SUCCESS_LOGOUT= "退出登录成功";

    @ApiModelProperty(value = "用户未登录")
    public static final String NOT_LOGIN= "用户未登录";

    @ApiModelProperty(value = "成功")
    public static final String SUCCESS_MESSAGE= "成功";

    @ApiModelProperty(value = "失败")
    public static final String FAIL_MESSAGE= "失败";

   @ApiModelProperty(value = "注册成功")
   public static final String SUCCESS_REGIST= "注册成功";

    @ApiModelProperty(value = "更新成功")
    public static final String SUCCESS_UPDATE= "更新成功";

    @ApiModelProperty(value = "查询成功")
    public static final String SUCCESS_FIND= "查询成功";

    @ApiModelProperty(value = "更新失败")
    public static final String FAIL_UPDATE= "更新失败";

    @ApiModelProperty(value = "添加成功")
    public static final String SUCCESS_INSERT= "添加成功";

    @ApiModelProperty(value = "添加失败")
    public static final String FAIL_INSERT= "添加失败";

    @ApiModelProperty(value = "查询失败")
    public static final String FAIL_FIND= "查询失败";

   @ApiModelProperty(value = "注册失败")
   public static final String FAIL_REGIST= "注册失败";

    @ApiModelProperty(value = "email注册subject")
    public static final String REGIST_EMAIL_SUBJECT= "心理酒吧";

    @ApiModelProperty(value = "email注册subject")
    public static final String REGIST_EMAIL_TEXT= "欢迎注册心理酒吧，验证码5分钟内有效，您的验证码是：";

   @ApiModelProperty(value = "验证码信息")
   public static final String NOT_CODE= "验证码失效，请重新获取";

   @ApiModelProperty(value = "验证码有误")
   public static final String WRONG_CODE= "验证码或邮箱输入有误";

    @ApiModelProperty(value = "该邮箱可用")
    public static final String SUCCESS_VERIFY_EMAIL= "该邮箱可用";

    @ApiModelProperty(value = "该邮箱已经被注册。")
    public static final String FAIL_VERIFY_EMAIL= "该邮箱已经被注册";

}
